home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software 2000
/
Software 2000 Volume 1 (Disc 1 of 2).iso
/
utilities
/
u223.dms
/
u223.adf
/
HamEdit.doc
< prev
next >
Wrap
Text File
|
1987-06-06
|
6KB
|
110 lines
HamEditor9
Written by James Carpino of Resolution Computer Research (RCR).
I am placing this program in the public domain.
This program may be copied in its
entirety and distributed, and may not
be used or sold for commercial use.
Resolution Computer Research is currently a small non-profit
software development company devoted to the development of
software and hardware for the Commodore 64/128 and Amiga PCs.
WE ARE NOT RICH so if you find any RCR programs useful
please feel free to send a donation of $2 or more to:
---------------------------------\
James Carpino |
Resolution Computer Research |
86-08 106th street Richmond Hill |
New York, NY 11418 |
---------------------------------/
We are also currently working on:
HAM (Hold-And-Modify) Image Editor: This is this program. Enjoy it.
HAM library for C language, to use HAM in your own software.
Emily-64: a 6502 microprocessor emulator to enable the Amiga
to eventually run Apple II, Commodore 64, and Atari 800XE
software. This will hopefully run at full speed, but we NEED
a developer's kit or Manx C compiler/assembler donation TO
accomplish this.
Dimension-Three: AmigaBasic program to plot three-dimensional
formulas on any resolution screen (including interlaced).
EditWave: AmigaBasic program to edit 256-byte waveforms with
sine, square, triangle, etc. waveforms and mixing.
---------------------------------------*
Any donations will be recorded with the donor's name
and put towards our development needs. If, at any point,
we succeed in developing products worthy of sale for a profit,
any donations will be returned at the rate of twice the donated
value. Until we are on our feet (business-wise) we can make
no promises as to the return of donated funds, equipment, etc.
_____________________________________________________________________
The Instructions:
How to use HamEditor9:
Call the program from AmigaDos, using the following paramaters:
HamEditor9 h[height] w[width]
for example:
HamEditor9 h300 w300 ;Creates a HAM screen 300 by 300 interlaced.
Leaving out the h and w paramaters will cause HamEditor9 to default to
the 320*400 screen format. Any height over 232 will be made interlaced.
Examples:
HamEditor9 h233 ;Creates a HAM screen 320 by 233 interlaced.
HamEditor9 w352 ;Creates a HAM screen 352 by 400 interlaced.
HamEditor9 h100 w100 ;Creates a HAM screen 100 by 100 non-interlaced.
HamEditor9 h230 ;Creates a HAM screen 320 by 230 non-interlaced.
It is important to remember that the Amiga hardware can do low-resolution
screens up to 352 dots in width, and high-resolution screens up to 704 in
width. Under Kickstart 1.1, though, these screens will not work properly
unless perfectly centered by Preferences (the screen position slider).
Under Kickstart 1.2, the screen will work properly regardless of the
position of the Preferences screen slider, though you may not see all of
it. As for height, non-interlaced screens may go up to 232 in height and
interlaced screens may go up to 464 in height. Again, if the screen is not
positioned correctly, it may not work properly under Kickstart 1.1. If the
screen is above 200 or 400 interlaced, 1.1 will not show that part which
streches over the limit. The only way to remedy this in 1.1 is to go to the
top of the screen, and drag the screen drag bar upwards until all the screen
is visible. The screen will not move, but the bottom border will, and the
mouse pointer will point to a position several dots lower. In Kickstart
1.2, the entire screen will automatically be visible (provided the
Preferences screen position gadget is in the upper left corner).
"Wait a minute- did he say ALL? Uh- I can't see all of it, my 352 by
464 screen goes off the screen no matter what I do!" says a fairly well-
educated observer. He has a problem: His monitor will not physically accept
a screen much larger than 320 (or 640 hi-res) by 200 (or 400 interlaced).
This is true of all the current Commodore monitors and most color monitors.
They do something called overscanning. This is so the scanning gun in the
CRT (Cathode Ray Tube) has time to get from the right of the screen to the
left of the screen, and from the top to the bottom. It is different on most
monitors (TV's, composite, RGB, etc.) so Amiga has the position gadget in
Preferences. If you have a monochrome monitor, or an old-fashioned color TV
with all the controls, you can change the Horizontal and Vertical size;
usually the smallest settings will allow for most of a 352 by 232 screen to
be displayed. Some expensive RGB monitors will display the larger screens,
too.
Now, back to our little graphics editor. The commands are summarized as
follows:
d --Goes to draw mode (full lines), just like in DeluxePaint.
s --Goes into spots mode (dotted lines), just like DeluxePaint.
, (comma key) --Picks a color from anywhere on the screen, like in
DeluxePaint. This can be held down to roll through the pallette.
. (period key) --Changes the brush size to something easy to work with.
- (minus key) Reduces the X and Y size of the brush. (DeluxePaint)
= (Equals key, look at the plus sign) Increases the width of the brush.
\ (Backslash key, next to the = key) Increases the height of the brush.
HELP --Redraws all the information, including the palette.
F10 --Pops in and out the MENU bar, to allow for the full screen height.
[ and ] --Change the current color to one of the 16 colors; these are
fast and are not HAM colors. (These keys also work in DeluxePaint)
8-9,5-6,2-3: Up and down for HAM red, green, and blue. The current HAM
color is also displayed as ham color #8. (These keys also work in
DeluxePaint)
Del --(above the BackSpace key) Clears the screen and re-draws all the
information (Like HELP with a clear screen first).
The penwidth can be no less than 3 dots wide because it takes 3 dots to make
a HAM color: 1 for red, 1 for green, and 1 for blue. If you have to
increase the size of the brush drastically, increase the height; height is
drawn faster than width.
That's about it, if I forgot anything else, you'll discover it soon enough.
Most of all, have fun, and Happy Hamming!